<ui:component xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich">
	<s:cache key="main_menu_#{currentLang}" region="pageFragments">
		<ul id="menuNavigation">
			<li><s:link view="/home.seam" propagation="none">
				<h:outputText value="#{messages['label.primarynav.home']}"></h:outputText>
			</s:link></li>
			<li><s:link styleClass="quickmenu" propagation="none"
				view="/guides/home.seam">
				<h:outputText
					value="#{messages['label.primarynav.explore.croatia']}"></h:outputText>
			</s:link>
			<ul id="quickMenu">
				<li>
				<ul>
					<li><h:outputLink
						value="#{application.contextPath}/guides/gmaps.seam">
						<f:param name="l" value="#{currentLang}" />
						<h:outputText value="#{messages['label.primarynav.map']}"></h:outputText>
					</h:outputLink></li>
					<li><h:outputLink
						value="#{application.contextPath}/guides/otoci/list.seam">
						<f:param name="l" value="#{currentLang}" />
						<h:outputText value="#{messages['title.islands']}" />
					</h:outputLink></li>
					<li><h:outputLink
						value="#{application.contextPath}/guides/mjesta/list.seam">
						<f:param name="letter" value="B" />
						<f:param name="l" value="#{currentLang}" />
						<h:outputText value="#{messages['title.places']}" />
					</h:outputLink></li>
					<li><h:outputLink
						value="#{application.contextPath}/guides/parkovi/list.seam">
						<f:param name="tipParka" value="N" />
						<f:param name="l" value="#{currentLang}" />
						<h:outputText value="#{messages['title.national.parks']}" />
					</h:outputLink></li>
					<li><h:outputLink
						value="#{application.contextPath}/guides/parkovi/list.seam">
						<f:param name="tipParka" value="P" />
						<f:param name="l" value="#{currentLang}" />
						<h:outputText value="#{messages['title.nature.parks']}" />
					</h:outputLink></li>
				</ul>
				</li>
			</ul>
			</li>
			<li><s:link propagation="none"
				view="/guides/objekti/searchSmjestaj.xhtml">
				<h:outputText value="#{messages['label.primarynav.search']}" />
			</s:link></li>
			<li><h:outputLink
				value="#{application.contextPath}/guides/objekti/suggest/suggestion.seam">
				<f:param name="l" value="#{currentLang}" />
				<h:outputText value="#{messages['label.primarynav.register']}"></h:outputText>
			</h:outputLink></li>
			<li><h:outputLink value="/portal/web/guest/home">
				<h:outputText value="#{messages['label.primarynav.infoportal']}"></h:outputText>
			</h:outputLink></li>
			<li><s:link view="/user/profile.xhtml"
				value="#{messages['label.user.profile']}" propagation="none" /></li>
		</ul>
	</s:cache>
</ui:component>